<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery UI Tabs - Default functionality</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="<?php echo URL::base()?>jquery/css/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<link type="text/css" href="<?php echo URL::base()?>css/style.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo URL::base()?>jquery/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>jquery/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/home.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/util.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/supplierCategory.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/supplier.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/dish.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/dishBunddle.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/ajaxfileupload.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>js/MaskLayer.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="<?php echo URL::base()?>gmap/gmap.js"></script> 
<script type="text/javascript" src="<?php echo URL::base()?>gmap/jquery.ui.map.js"></script>
<script type="text/javascript" src="<?php echo URL::base()?>gmap/jquery.ui.map.services.js"></script>
</head>
<body>
<div align="right" style="font-size: 14px">
<?php 
echo HTML::anchor("/boAdmin/password","修改密码");
echo "&nbsp|&nbsp";
echo HTML::anchor("/boAdmin/logout","登出")
?>
</div>
<div class="demo">
<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all ui-sortable">
		<?php 
			foreach ($tab_list as $tab){
				echo '<li class="ui-state-default ui-corner-top';
				if($current_tab["controller_name"] == $tab["controller_name"]){
					echo ' ui-tabs-selected ui-state-active';
				}
				echo '">'.HTML::anchor($tab["controller_name"],$tab["display_name"]).'</li>';
			}
		?>
	</ul>
	<?php 
		foreach ($tab_list as $tab){
			echo '<div id="tabs-'.$tab["tab_order"].'">';
			if($current_tab["controller_name"] == $tab["controller_name"]){
				echo View::factory("pages/bo/".$tab["default_page"])->render();
			}
			echo '</div>';
		}
	?>
</div>

</div>
<!-- End demo -->



<div class="demo-description">
</div>
<!-- End demo-description -->
<div id="dialog-message" title="提示"></div>
<?php echo View::factory("pages/bo/common/confirm_dialog")?>
<input id="website" type="hidden" value="<?php echo URL::base()?>"></input>
<input id="currentTab" type="hidden" value="<?php echo $current_tab["view_tab"]?>"></input>
<input id="currentTabOrder" type="hidden" value="<?php echo $current_tab["tab_order"]?>"></input>
<input id="currentMember" type="hidden"/>
<input id="dishCategory" type="hidden"/>
<input id="curDish" type="hidden" />
<input id="curDishItem" type="hidden" />
<input id="curBunddle" type="hidden"/>
<input id="dishCategoryName" type="hidden"/>
<input id="curAction" type="hidden" />
<input id="curSupplier" type="hidden" />
<div id="dialog-form-dish-category-add" title="菜系管理"></div>
<div id="dialog-form-dish-category" title="菜系管理"></div>
<div id="dialog-form-dish" title="菜色管理"></div>
<div id="dialog-form-dish-add" title="菜色管理"></div>
<div id="dialog-form-dish-item" title="菜色子类目管理"></div>
<div id="dialog-form-dish-bunddle-add" title="套餐管理"></div>
<div id="dialog-form-dish-bunddle" title="套餐管理"></div>
</body>
</html>
